package com.glq1218.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author glq1218
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryUserListDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @Min(1)
    @Schema(description = "当前页")
    private Integer current;
    @Min(10)
    @Schema(description = "分页大小")
    private Integer pageSize;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "昵称")
    private String nickname;
    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
